Computing values and derivatives of Bézier and B-spline tensor products

نویسندگان

  • Stephen Mann
  • Tony DeRose
چکیده

We give an eecient algorithm for evaluating B ezier and B-spline tensor products for both positions and normals. The algorithm is an extension of a method for computing the position and tangent to a B ezier curve, and is asymptotically twice as fast as the standard bilinear algorithm. Many applications, such as rendering a surface using Phong shading, require evaluating both the value and derivatives of a surface. Repeated bilinear interpolation can be used to compute values and derivatives of n n tensor product B ezier surfaces (see Figure 1a and Farin Far93]). The nal computed point is a point on the surface, and the points in the next to last step can be used to calculate the derivatives of the surface. However, this algorithm cannot be used for an n m tensor product surface with m 6 = n. In this paper we develop an algorithm to handle the general case of arbitrary m and n. Our approach is to run the univariate version of de Casteljau's algorithm successively in each parametric direction. Each time, we stop the evaluation \one short" of completion. The resulting multi-linear function is then evaluated to compute both the value and the derivatives. The algorithm is illustrated for a tensor product B ezier surface by the following pseudo-Pascal code: (* Given the control points P i;j for a n m tensor product Bezier patch F and a pair of parameter values u and v, return the value and partial derivatives of F at u; v *)

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

TENSION QUARTIC TRIGONOMETRIC BÉZIER CURVES PRESERVING INTERPOLATION CURVES SHAPE

In this paper simple quartic trigonometric polynomial blending functions, with a tensionparameter, are presented. These type of functions are useful for constructing trigonometricB´ezier curves and surfaces, they can be applied to construct continuous shape preservinginterpolation spline curves with shape parameters. To better visualize objects and graphics atension parameter is included. In th...

متن کامل

Bayesian closed surface fitting through tensor products

Closed surfaces provide a useful model for 3-d shapes, with the data typically consisting of a cloud of points in R. The existing literature on closed surface modeling focuses on frequentist point estimation methods that join surface patches along the edges, with surface patches created via Bézier surfaces or tensor products of B-splines. However, the resulting surfaces are not smooth along the...

متن کامل

Tensor-product monotonicity preservation

The preservation of surface shape is important in geometric modelling and approximation theory. In geometric modelling one would like to manipulate the shape of the surface being modelled by the simpler task of manipulating the control points. In scattered data approximation one might wish to approximate bivariate data sampled from a function with a shape property by a spline function sharing t...

متن کامل

A matrix Method for Computing the Derivatives of Interval Uniform B-Spline Curves

The matrix forms for curves and surfaces were largely promoted in CAD. These formulations are very compact to write, simple to program, and clear to understand. They manifest the desired basis as a matrix transformation of the common power basis. Furthermore, this implementation can be made extremely fast if appropriate matrix facilities are available in either hardware or software. Derivatives...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Computer Aided Geometric Design

دوره 12  شماره 

صفحات  -

تاریخ انتشار 1995